package com.xiaoergekeji.cloud.devops.scheduler.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Archie Ding
 * @since 2021-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("scheduler_task_log")
public class SchedulerTaskLog implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("job_name")
    private String jobName;

    @TableField("job_description")
    private String jobDescription;

    @TableField("executor_type")
    private String executorType;

    @TableField("fire_time")
    private Long fireTime;

    @TableField("job_run_time")
    private Long jobRunTime;

    @TableField("fire_end_time")
    private Long fireEndTime;

    @TableField("prev_fire_time")
    private Long prevFireTime;

    @TableField("next_fire_time")
    private Long nextFireTime;

    @TableField("job_status")
    private String jobStatus;

    @TableField("trigger_type")
    private String triggerType;

    @TableField("cron_expression")
    private String cronExpression;

    @TableField("trigger_start_time")
    private Long triggerStartTime;

    @TableField("trigger_end_time")
    private Long triggerEndTime;

    @TableField("repeat_interval")
    private Long repeatInterval;

    @TableField("repeat_count")
    private Integer repeatCount;

    @TableField("service_id")
    private String serviceId;

    @TableField("path")
    private String path;

    @TableField("method")
    private String method;

    @TableField("json_args")
    private String jsonArgs;

    @TableField("content_type")
    private String contentType;

    @TableField("job_result")
    private String jobResult;

    @TableField("job_exception")
    private String jobException;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Long createTime;


}
